#ifndef OGLVIEWER_H
#define OGLVIEWER_H

#include <QFrame>
#include <QtCore/QTimer>

namespace Ui {
    class OSGViewer;
}

class QSettings;
class QOSGWidget;

class OSGViewer : public QFrame
{
    Q_OBJECT

public:
    QTimer timer;
	
	explicit OSGViewer(QWidget *parent = 0);
    ~OSGViewer();
    void writeSettings(QSettings & settings) const;
    void readSettings(QSettings & settings);

private slots:
    void timeout();

private:
    Ui::OSGViewer *ui;
    QOSGWidget* m_pOsgWidget;
};


#endif // OGLVIEWER_H
